package com.shop.dao;

import com.shop.pojo.UserAddress;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface UserAddressMapper {

    int deleteByPrimaryKey(String id);

    int insert(UserAddress record);

    UserAddress selectByPrimaryKey(String id);

    List<UserAddress> selectAll();

    List<UserAddress> queryUserOrderByCondition(Map<String,Object> params);

    int updateByPrimaryKey(UserAddress record);

    List<UserAddress> queryData();
}